package cn.afactory.tygz.ui.base.entity;

/**
 * Created by Kenneth on 15/9/11.
 */
public class SearchHistoryEntity {
    public int type;
    public String content;

    public SearchHistoryEntity() {
    }

    public SearchHistoryEntity(int type, String content) {
        this.type = type;
        this.content = content;
    }

    @Override
    public boolean equals(Object o) {
        if (!(o instanceof SearchHistoryEntity)) {
            return false;
        }

        SearchHistoryEntity she = (SearchHistoryEntity) o;
        if (content != null && content.equals(she.content)) {
            return true;
        } else {
            return false;
        }
    }
}
